package com.dreamoo.common.enums;

import com.dreamoo.common.annotation.EnumValue;
import lombok.Getter;

/**
 * 情绪标签枚举
 *
 * @author dreamoo
 */
@Getter
public enum EmotionEnum {
    
    /**
     * 中性
     */
    NEUTRAL(0, "中性"),
    
    /**
     * 开心
     */
    HAPPY(1, "开心"),
    
    /**
     * 悲伤
     */
    SAD(2, "悲伤"),
    
    /**
     * 恐惧
     */
    FEAR(3, "恐惧"),
    
    /**
     * 愤怒
     */
    ANGER(4, "愤怒"),
    
    /**
     * 惊喜
     */
    SURPRISE(5, "惊喜"),
    
    /**
     * 焦虑
     */
    ANXIETY(6, "焦虑"),
    
    /**
     * 困惑
     */
    CONFUSION(7, "困惑");
    
    /**
     * 码值
     */
    private final Integer code;
    
    /**
     * 描述
     */
    private final String desc;
    
    EmotionEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    /**
     * 获取情绪标签
     * @return
     */
    @EnumValue
    public Integer getEmotion() {
        return code;
    }
} 